package com.weayer.service;

import com.weayer.dto.ResponseResult;
import com.weayer.remote.MapDistrictClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @description: 地区Service
 * @author: Weayer
 **/
@Service
public class DistrictService {
    @Autowired
    MapDistrictClient mapDistrictClient;

    public ResponseResult initDistrict(String keywords){

        return ResponseResult.success(mapDistrictClient.district(keywords));
    }
}
